package com.ay.weixin.autoreply.db;

import java.sql.SQLException;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import lizar.db.ibatis.Dao;

import com.ay.weixin.autoreply.domain.MsgImage;

public class IbatisAutoReplyImageDao extends Dao {
	
	public List<MsgImage> getImageList(long wxproject_id,long auto_reply_id) throws SQLException{
		Map<String,Object> keys=new LinkedHashMap<String,Object>();
		keys.put("auto_reply_id", auto_reply_id);
		keys.put("wxproject_id", wxproject_id);
		return (List<MsgImage>)this.sqlMapper.queryForList("msg_image.getImageList",keys);
		
	}
}
